public class IntDetail {
	public static void main(String[] args){
		byte n1 = 10;
		short n2 = 10;
		int n3 = 10; //4个字节
		long n4 = 10;//8个字节

		//java的整型常量（具体值）默认为int型，声明long型常量需要加上l或L
		int num1 = 1;
		//int n2 = 1l;//error
		long num3 = 1L;//ok
	}
}